home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 98 / Skunkware 98.iso / src / net / slirp-1.0c.tar.gz / slirp-1.0c.tar / slirp-1.0c / docs / alt.dcom.slip-emulators.FAQ next >
Internet Message Format  |  1995-08-21  |  59KB

  1. From stevew@netcom.com Wed Aug 16 01:33:24 1995
  2. Return-Path: stevew@netcom.com
  3. Received: from netcom21.netcom.com (stevew@netcom21.netcom.com [192.100.81.135]) by blitzen.canberra.edu.au (8.6.10/8.6.9) with ESMTP id BAA17220 for <danjo@blitzen.canberra.edu.au>; Wed, 16 Aug 1995 01:32:14 +1000
  4. Received: by netcom21.netcom.com (8.6.12/Netcom)
  5.     id IAA29646; Tue, 15 Aug 1995 08:25:30 -0700
  6. From: stevew@netcom.com (Steve Wilson)
  7. Message-Id: <199508151525.IAA29646@netcom21.netcom.com>
  8. Subject: Latest FAQ
  9. To: danjo@BLITZEN.CANBERRA.EDU.AU
  10. Date: Tue, 15 Aug 1995 08:25:30 -0700 (PDT)
  11. X-Mailer: ELM [version 2.4 PL23]
  12. MIME-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 57991     
  16. Status: RO
  17. X-Status: 
  18.  
  19.  
  20. Alt.dcom.slip-emulators FAQ  V1.5   Aug 10, 1995
  21.  
  22. This has been completely re-organized, i.e. there is a some what
  23. logical organization now with some of the descriptions you'd
  24. asked for!  There is also some meat to the questions relevant to
  25. Windows 95, etc.   
  26.  
  27. Steve Wilson
  28. -------------------------------------------------------------------
  29.  
  30. Questions:
  31.  
  32. 1.0 What is a Slip Emulator anyway?
  33.    1.  What is a Slip/PPP emulator?
  34.    2.  Is Slirp better using  SLIP or PPP?
  35.  
  36. 2.0 Where to get Slip Emulator Software?:
  37.  
  38.    1.  Is Slirp Free to Use?  Will I be charged long distance fees for using
  39.        this because it uses my modem?
  40.    2.  Where can I get slirp?
  41.    3.  Where are there precompiled binaries for Slirp for... ?
  42.    4.  Where can I get precompiled binaries for TIA?
  43.    5.  Where on Netcom is a pre-compiled version of slirp?
  44.  
  45.    (Need to add stuff about twinsock...anyone want to write this section?)
  46.  
  47. 3.0 Emulator Configuration, i.e. How do I make this stuff work?
  48.  
  49.    1. Slirp starts up ok except doesn't display the DNS so I told
  50.       it what the DNS was.  However, it won't load my local homepage?
  51.    2. What should my network configuration look like for trumpet
  52.       winsock for netcom?
  53.    3. How do I use slirp to telnet into my linux box?
  54.    4. What do the configuration files need to look like for linux?
  55.    5. Is it possible to send mail from my Linux box to/thru Netcom while
  56.    6. How do I set up slirp for an X connection?
  57.    7. What are the new formats for the .slirprc commands in the .95x
  58.       release of slirp? What are the new control port commands? 
  59.    8. I'm trying to get shell via telnet on slirp, without 
  60.       logging in again. What is the configuration?
  61.    9. Does anyone have instructions/hints as to how to use Windows 95
  62.       with slirp? 
  63.  
  64. 4.0 Emulator Performance
  65.  
  66.    1. Tia/Slirp Benchmark (This is slirp .9o vs TAI 1.0 I think..)
  67.  
  68. 5.0 Miscilaneous Problems/solutions...
  69.  
  70.    1. The posted solution from Dan(Author of SLIRP) for the .9o 
  71.       lockup problem(RWIN adjustments, etc.)
  72.    2. 32 bit Netscape on Win95 has DNS problems. Why? 
  73.    3. Using OS/2 my baud rate say it's 1200. How do I make this faster for
  74.       slirp?
  75.    4. How do you login using the slirp.telnetd?
  76.    5. Slirp says it's running 9600 baud. How do I make ir run at 14.4?
  77.    6. Where can I find nntpd for netcom? How do I configure it for
  78.       Netcom?
  79.    7. TCPman launches when I try to run Netscape..but netscape never
  80.       comes up?
  81.    8. I start up a connection under Win95 and I only get a PPP connection?
  82.       How do I configure it for slip?
  83.    9. Why is using the telnetd better than just logging in twice? 
  84.    10. Why doesnt' FTP-PM work with slirp?
  85.    11. Will TIA 2.0 support PPP and CSLIP? Why don't they support ICMP?
  86.        I'd love to see automagic port redirection as well?
  87.    12. Why does rlogin work from the port master I'm dialing into, but
  88.        telnet doesn't for setting up slirp between then end points? 
  89.    13. Address 10.0.2.0 doesn't work under InterSlip from my Mac. Why not?
  90.    14. How do I setup POP mail using slirp?
  91.  
  92. (note - I'm still not completely happy with this organization... but it's a start
  93.             and it's all I've got time for at this point.  Next release...)
  94.  
  95. ----------------------------------------------------------------------------
  96. 1.0 What is a Slip Emulator anyway?
  97.  
  98. Question 1.1
  99.  
  100. What is a SLIP Emulator?
  101.  
  102. A slip emulator is a piece of software that runs on the host machine that you 
  103. call into. This software accepts the bits you throw it's way using SLIP  
  104. and then submits these bits to the host computer for transmission on the
  105. internet.
  106.  
  107. When bits are received from the internet for the remote system, the emulator
  108. packages them up into the SLIP protocol and send them along to your remote
  109. system.
  110.  
  111. Boy...that was terse and to the point ;-)
  112.  
  113. Another way of putting this is that the SLIP emulator acts as a middleman 
  114. between the internet and your remote system.  Your remote system speaks SLIP
  115. at the middleman, and he interprets it into the language used by the 
  116. internet.  
  117.  
  118. These two languages aren't really that different, and actually, SLIP is the
  119. same language as used on the internet plus some extra packaging to send it
  120. over your phone line.  
  121.  
  122. You need to use SLIP (or PPP..explained later) over the phone line because 
  123. you are transferring binary information instead of just text.  If you've used
  124. zmodem or xmodem or kermit...you are using these protocols for the same reason
  125. as you are using SLIP or PPP. The primary difference between these protocols 
  126. and SLIP is that SLIP corresponds(as just mentioned) to the language of 
  127. the internet (TCP/IP...Transport Control Protocol/Internet Protocol...
  128. a real mouthful even as TCP/IP ;-)
  129.  
  130. ----------------------------------------------------------------------------
  131.  
  132. Question 1.2
  133.  
  134. Leo Perez y Perez (perez@csulb.edu) wrote:
  135. : Is SLiRP better as SLIP or PPP?
  136. : or, what is the difference between them anyway?
  137. :
  138. : Leo Perez y Perez    
  139. : perez@csulb.edu      
  140.  
  141. There are really three protocols available with slirp.
  142.  
  143. They are SLIP, CSLIP, and PPP.
  144.  
  145. The protocols have the following properties...
  146.  
  147. Slip is merely raw IP frames sent in between two Flag characters, one
  148. indicating start, and the other indicating end of packet.  There is
  149. an escaping method when either of the two flags appears inside the 
  150. actual IP datagram.
  151.  
  152. CSLIP is sent via the same basic mechanism over the physical medium(your
  153. phone line) but an added level of compression is applied to the 
  154. header of the IP datagram itself such that the IP header is reduced
  155. in sized from something like 40 bytes to something like 7 bytes.  This
  156. savings happens on EVERY packet.  This is a style of compression that
  157. is beyond the V.42bis compression algorithm used by your modem.  Estimates
  158. give about a 20% increase in performance(give or take 10%).
  159.  
  160. PPP (or Point-to-Point Protocol) really might be classified more like
  161. a byte oriented HDLC.  That means that it takes the IP datagram and puts
  162. inside yet another encapsulating packet.  This packet has a CRC across
  163. it so bad packets can be detected at the lowest level.  There are also
  164. security features built into this protocol.  Basically, it is a far more
  165. robust protocol than Slip or CSLIP.  PPP also has the added property that
  166. the Slirp implementation can escape several control characters, so you
  167. are more likely to get a successful link up on a line that isn't 
  168. 8 bit clean. (aka a serial line that has some sort of input processing
  169. occuring.) 
  170.  
  171. >From previous performance measurements, people have found that CSLIP
  172. is fastest when using Slirp.  Some folks(like me) wind up using PPP
  173. over CSLIP because of the need for the escaping feature. In my case
  174. this allows me to do ftp sessions that don't work under CSLIP.
  175.  
  176. Now, that is probably more than you ever wanted to know ;-)
  177.  
  178. Steve Wilson
  179. ----------------------------------------------------------------------------
  180. 2.0 Where to get Slip Emulator Software?:
  181.  
  182. Question 2.1
  183.  
  184. In article <waddell.803517481@hercules>, waddell@HERCULES.CS.UREGINA.CA 
  185. says...
  186. >
  187. >Is SLiRP free to use (ie.  will I be charged long distance fees for using
  188. >this because it uses my modem> or does it use the University's (or Unix 
  189. >server's modem>?
  190. >
  191.  
  192. Yes. SLiRP is a free copyrighted software.  SLiRP runs on your UNIX shell 
  193. account and let's you connect to the internet.  You need a client PC with a 
  194. TCP stack like Trumpet Winsock which uses your modem to access your shell 
  195. account.  If there is a long distance charge to access your university's 
  196. computer, then you will have to pay those charges, as well as, any usage fees 
  197. that you are now paying.  Otherwise, you don't have to pay for accessing the 
  198. internet.
  199.  
  200. Hope this helps,
  201.  
  202. Lynn Larrow        
  203. llarrow@netcom.com                                Pacific Grove, CA
  204. http://www.webcom.com/~llarrow/tiarefg.html (SLiRP/TIA/Trumpet Setup)
  205. [Editor's note:  The above is a VERY useful home page, and is packed
  206.  with more info than you'll find here!!]
  207. ----------------------------------------------------------------------------
  208. Question 2.2
  209.  
  210. In article <DB9Hwz.BDL@agora.rdrop.com>, lucasa@postes.gaylord.org says...
  211. >Could someone please inform me of a FTP site for the 
  212. >updates to slirp?
  213. >
  214. >Lucas
  215.  
  216. ftp://peace.wit.com/danjo/slirp/  or
  217. ftp://blitzen.canberra.edu.au/pub/slirp/  or
  218. ftp://ibc.wustl.edu/pub/slirp_bin/
  219.  
  220. Lynn Larrow        "When the shoe fits, the foot is forgotten"
  221. llarrow@netcom.com                                Pacific Grove, CA
  222. ----------------------------------------------------------------------------
  223. Question 2.3
  224.  
  225. In article <3s35j8$eab@gulfa.kuwait.net>, kcc94td1@access.kuwait.net says...
  226. >Anyone know where there are pre-compiled SLiRP binaries?  This would be 
  227. >very helpful and highly appreciated :-D
  228. >
  229. >Khaled al-Feeli
  230.  
  231. Try ftp://ibc.wustl.edu/pub/slirp_bin/USE_AT_OWN_RISK/
  232.  
  233. I also have some other links to slirp binary sites at this URL:
  234.  
  235. http://www.webcom.com/~llarrow/tiafaqs.html
  236.  
  237. Hopefully they are all still active :)
  238.  
  239. Lynn Larrow                        
  240. llarrow@netcom.com                                Pacific Grove, CA
  241. ----------------------------------------------------------------------------
  242. Question 2.4
  243.  
  244. > Where can I get precompiled binaries for TIA?
  245.  
  246. You can get TIA by :
  247. ftp: //marketplace.com/tia
  248.  
  249. There is also shareware for different systems under:
  250.  
  251. ftp: //marketplace.com/tia/shareware
  252.  
  253. ----------------------------------------------------------------------------
  254. Question 2.5
  255.  
  256. In article <stew1117DAJ8vy.96s@netcom.com>,
  257. >stew1117@netcom.com (stewart coulter) wrote:
  258. >I am trying to locate the latest version of slirp, the one site that I 
  259. >tried I was unable to locate it any directories, please help me.  I need 
  260. >the FTP site and directory.  Respond via email.
  261.  
  262. Folks on Netcom can get the release files and a few other doo-dads from my 
  263. directory:
  264.  
  265.   ~ldobbs/slirp
  266.  
  267. The modified source for tcp_input.c (see other threads) is there, along with 
  268. some simple (and undocumented) scripts to build the binary.
  269.  
  270. Lee Dobbs                     Milpitas CA            Voice: 408-946-7860
  271. ldobbs@netcom.com                 USA                Fax:   408-262-9392
  272. ----------------------------------------------------------------------------
  273. 3.0 Emulator Configuration, i.e. How do I make this stuff work?
  274.  
  275. Question 3.1
  276.  
  277. In article <DBD1MG.6J5@zeno.fit.edu>, lkhan@winnie.fit.edu says...
  278. >I have installed the latest version of slirp on the Unix machine.  It
  279. >conplied properly (although I had to erase some files so it won't go over
  280. >disc quota).  Using Trumpet Winsock, I ran it using the command line:
  281. >"slirp -m 552 -c" (I set all the configurations as stated on the slirp home
  282. >page.)  It shows all the messages at the beginning expect for the dns ip
  283. >address.  So I used the "I.P. address of slirp" for the dns.
  284. >
  285. >When running Mosiac (ver. 2beta4), it wouldn't load the homepage.  The 
  286. >messages at the bottom stop at "Waiting..." and sticks there forever, the
  287. >little Mosaic "earth" still moves.
  288. >
  289. >What can be wrong??
  290. >
  291. >On the same machine, I can still run twinsock properly (it works.)
  292.  
  293. My best guesses would be one of two things.  The first is that using the IP 
  294. address of the machine slirp is running on as your DNS isn't working.  In many 
  295. university situations, they will have one or two machines which serve as 
  296. nothing more than DNS servers.  You need to find out the address of these 
  297. machines.  The best idea here would be to ask the sysadmin at your site.
  298.  
  299. The second good possibility is that a terminal server is interfering.  Using 
  300. SLIP/CSLIP requires an absolutely clean 8-bit line, something that most 
  301. terminal servers in a university setting have trouble with.  Try to find out 
  302. if your terminal server has a 'terminal download' option, or something similar 
  303. to set the connection to 8-bit clean.  Alternatively, try using SLiRPs PPP 
  304. mode as you can escape control characters which may help the problem.  BTW, 
  305. this would explain why twinsock works as it defaults to a 6-bit mode, which 
  306. means it can run over almost any connection.  It also makes it dog slow.
  307.  
  308. Hope this helps.
  309.  
  310. Matt
  311. mnm@goodnet.com
  312. matt.moore@asu.edu
  313. ----------------------------------------------------------------------------
  314. Question 3.2
  315.  
  316. In article <sfbDBtEx8.FCz@netcom.com>, sfb@netcom.com (sfb) wrote:
  317. >I currently have a Netcom Shell Account and am using TIA to emulate slip.
  318. > ...
  319. >What should my settings be under Network Configuration?  I have tried 
  320. >tons of various settings, such as 192.0.2.2 (works for Eudora) and 
  321. >netcom.com
  322.  
  323. First, I suggest adding these to the end of your hosts file in the Trumpet 
  324. directory:
  325.  
  326. (Editor's note - Should probably change the 192.0.2.x stuff to 10.0.2.x
  327.  in the table below ... see the linux configuration info for what I mean..)
  328.  
  329. 192.100.81.101  netcomsv netcomsv.netcom.com
  330. 192.100.81.105  ns.netcom.com
  331. 192.100.81.254  netcomgw netcomgw.netcom.com
  332. 192.0.2.1       local-pc
  333. 192.0.2.2    mail.netcom.com smtp-server pop-server
  334. 192.0.2.3    netcom.com news.netcom.com nntp-server
  335.  
  336. Then, in any winsock app that needs a POP or SMTP server (such as the Host 
  337. and Relay Host for Pegasus), use mail.netcom.com -- for a news (NNTP) 
  338. server, use netcom.com .
  339.  
  340. By the way, in my Trumpet File;Setup Nameserver setting, I've been using
  341.  
  342.   192.100.81.101 192.100.81.254 192.100.81.105
  343.  
  344. and I get very few name lookup delays.
  345.  
  346. Lee Dobbs                     Milpitas CA            Voice: 408-946-7860
  347. ldobbs@netcom.com                 USA                Fax:   408-262-9392
  348. ________________________________________________________________________
  349. Question 3.3
  350.  
  351. In article <frankDAGH97.Gu6@netcom.com> frank@netcom.com (frank) writes:
  352. >Hi, Slirpers:
  353. >
  354. >How do I telnet into my linux box?  I redir the port 8888 to 192.0.2.0:23
  355. >I am using SLiRP 0.9o.  But when I login to netcom and use
  356. >telnet netcom8(or whatever).netcom.com 8888, nothing happened.
  357. >Do I need to set my IP to 192.0.2.0 instead of 10.0.2.15?  Any help
  358. >will be greatly appreciated.
  359. >
  360. >frank@netcom.com
  361.  
  362.  
  363. Why don't you try redirecting it to 10.0.2.15:23  ???
  364. ________________________________________________________________________
  365.  
  366. Question 3.4
  367.  
  368. What do the configuration files need to look like for linux
  369. for basic tcp/ip connetions to work with a slip emulator?
  370.  
  371. These files are configured for netcom..but hopefully will
  372. serve as an example as to how to set things up....
  373.  
  374. /etc/hosts ----
  375. 127.0.0.1       localhost
  376. 10.0.2.15       darkstar local-pc
  377. 192.100.81.101  netcomsv netcomsv.netcom.com
  378. 192.100.81.105  ns.netcom.com
  379. 192.100.81.254  netcomgw netcomgw.netcom.com
  380. 10.0.2.2    mail.netcom.com smtp-server pop-server
  381. 10.0.2.3    netcom.com news.netcom.com nntp-server
  382. /etc/resolv.conf ----
  383. domain netcom.com
  384. nameserver 192.100.81.108   (Editor's note - You might want to have
  385.                                               several entries on this line so if one
  386.                                              nameserver is down, there are alternatives locally.)
  387. /etc/host.conf -----
  388. order hosts, bind
  389. multi on
  390.  
  391. I'm not going to try and explain how to use dip here...that's a bit much.
  392. ________________________________________________________________________
  393. Question 3.5
  394. In article <ekbondDACC0q.DFM@netcom.com>, ekbond@netcom.com (E. Kelly
  395. Bond) wrote:
  396.  
  397. > Is it possible to send mail from my Linux box to/through Netcom
  398. > while connected via TIA?
  399. > Any help will be appreciated.
  400. > Kelly
  401. > ekbond@netcom.com
  402.  
  403. Yes, I am doing it.  You have to configure your domain name to netcom.com
  404. and use sendmail with the smtp-only script in /usr/src/sendmail/cf, and
  405. all will be great.  There are readmes in the sendmail directory how to use
  406. m4.  It's a one liner.  Use sendmail -q to bump the queue into action when
  407. you connect, or as part of your ppp-on script.
  408.  
  409. Oh, actually I am doing it with SLiRP, not TIA, but same thing...
  410.  
  411. Cheers,
  412.  
  413. -- Grant Bowman     <grantbow@netcom.com> 
  414.  
  415. ________________________________________________________________________
  416. Question 3.6
  417.  
  418. In article <3vn7vg$8s@seagoon.newcastle.edu.au> you wrote:
  419. : Hi all!
  420. :     I'm currently trying to get an xterm window from the host machine 
  421. : to my computer. I've tried the -X option and setting the DISPLAY 
  422. : environment. When I type "xterm", I just get the I/O error 32. Broken 
  423. : pipe or something like that on X server. Does anyone know what I'm doing 
  424. : wrong?
  425. :
  426. : | Edmund Lai                                |
  427.  
  428. Okay...lets review what you have to do.
  429.  
  430. First, in the .slirprc you have something like
  431.  
  432. redir X IP  (where IP is the number of the system you are typing at, ie
  433.              whatever your fake IP address is.  Slirp uses 10.0.2.15 
  434.              by default.  That is as good a choice as any unless you
  435.              have other reasons to change it.)
  436.  
  437. Okay...next. IS YOUR X SERVER UP and ALLOWING REMOTE CONNECTIONS on
  438. your home system?  If you are running linux at home, you need to say
  439. "xhost +"  to allow all hosts to access your screen.  Note - this IS
  440. potentially a security problem! This opens your system wide up to 
  441. intrusion.  On the other hand...do people know you have X and slirp
  442. running?
  443.  
  444. Finally, you need to telnet over to the remote host and type what
  445. slirp told you to type in its' log on banner.  Something like
  446. "setenv DISPLAY HOSTIP:offset" where HOSTIP is the host's IP number
  447. and offset is the X socket offset from port 6000 that slirp 
  448. grabbed(see below).   
  449.  
  450. Why do you have to do this you might ask...why isn't this number
  451. you home system's IP instead?  Good question, and one I asked the
  452. author before I stared at the code myself, and learned about unix
  453. sockets;-)  What slirp does with ANY port redirection is open
  454. up a unix socket, and start listening for traffic on that socket.
  455. So when you say redir X IP, what you are saying is listen on 
  456. port 6000(or 6000+ some number if 6000 is busy), and any 
  457. connections you see on that number forward over the SLIP link
  458. to the IP address I gave you.  
  459.  
  460. That means that you need to tell X clients to look for the X
  461. server at a specific machine IP address:socket number to 
  462. connect to your server that is on the other end of the phone 
  463. line!  You do this by typeing "setenv DISPLAY HOSTIP:offset"
  464. which is a variable, DISPLAY, that all X clients are sensitive
  465. too.  
  466.  
  467. Notice the offset.  This might be a little confusing also.  Slirp
  468. tries to grab socket 6000, but if the socket is already in use, 
  469. it'll increment the socket it's trying to listen too until it
  470. finds a free one.  So you might get 6007 as an example, if 6000-6006
  471. are already in use.  To set the display variable correctly you need
  472. to set the address to HOSTIP:7.  The X client is already smart 
  473. enough to add the 6000 base address.  
  474.  
  475. Summary.  1) Set the redir X HOMEIP in slirprc
  476.           2) Make sure that connecting hosts can access your server
  477.              by getting the security right.
  478.           3) Telnet to the host and do a setenv DISPLAY HOSTIP:offset
  479.              corresponding to the slirp banner.
  480.  
  481. That should get you up and running X!
  482.  
  483. Good Luck,
  484.  
  485. Steve Wilson 
  486.  
  487. ________________________________________________________________________
  488. Question 3.7
  489.  
  490. : What is  the new format for .slirprc commands?  What commands
  491. : are available on the control port? 
  492.  
  493. Note that versions of SLIRP after version "O" have many changes.
  494.  
  495. They require you to use a different, new format for [pty]exec in the
  496. "$HOME/.slirprc" file.  Here is the new format:
  497.  
  498. SLIRP95c Usage: add ptyexec | ptyexec PROGRAM:[ADDRESS:]PORT
  499.  
  500. The new formats, the use of the $HOME/.slirprc-0 file (executed _before_
  501. $HOME/.slirprc), and many other NEW features are clearly described in the
  502. docs/CONFIG file, which is included with the SLIRP95c package.
  503.  
  504. There is a new HELP menu, with many options, here is what it looks like:
  505. --= SLIRP 95c help menu =--
  506.  
  507. SLiRP command-line ready (type "help" for help).
  508. Valid commands:
  509. prompt               redir X              show X
  510. redir                baudrate             special addr
  511. control addr         host addr            add exec
  512. add ptyexec          add emu              shell
  513. debug                socket               log stats
  514. config               log start            dns
  515. help                 -h                   echo
  516. exec                 ptyexec              unit
  517. wait                 quit                 ppp
  518. -all                 -ac                  -am
  519. asyncmap             debugppp             -ip
  520. -mn                  -mru                 -pc
  521. +ua                  +pap                 -pap
  522. +chap                -chap                -vj
  523. -vjccomp             vj-max-slots         escape
  524. domain               mru                  mtu
  525. initiate-options     name                 user
  526. usehostname          remotename           auth
  527. proxyarp             login                lcp-echo-failure
  528. lcp-echo-interval    lcp-restart          lcp-max-terminate
  529. lcp-max-configure    lcp-max-failure      ipcp-restart
  530. ipcp-max-terminate   ipcp-max-configure   ipcp-max-failure
  531. pap-restart          pap-max-authreq      pap-timeout
  532. chap-restart         chap-max-challenge   chap-interval
  533. ipcp-accept-local    ipcp-accept-remote   bsdcomp
  534. -bsdcomp             papcrypt
  535. For more help type "help COMMAND" where command is either
  536. one of the above commands or a portion of a command.
  537.  
  538. (Editors Note - This comes from the slirp .95c change log I believe)
  539.  
  540. ________________________________________________________________________
  541. Question 3.8 
  542.  
  543. in article <darkmarkDC5LEK.41n@netcom.com>says
  544. >i'm trying to get shell via telnet on slirp, without logging in again.
  545.  
  546. 1.a) Get the file:
  547.  
  548.     ftp://blitzen.canberra.edu.au/pub/slirp/extra/slirp.telnetd-b.tar.g
  549.  
  550. 1.b) extract and compile it like you did with Slirp
  551.  
  552. 1.c) place the binary into a directory that is in your path
  553.  
  554.  
  555. [ Note:
  556. [ Can anyone explain in detail what function slirp.telnetd
  557. [ adds to slirp? Does it provide the 'telnet protocol'?
  558. [ If so, what is contained in the telnet protocol - local echo?
  559. [ Xon/Xoff flow control?
  560.  
  561.  
  562. 2) Add the following line to your .slirprc file (you may wish to pick
  563. another shell).  I use:
  564.  
  565.     shell /usr/local/bin/tcsh
  566.  
  567.  
  568. 3) Add a line to your hosts file so you can telnet to your shell without
  569. having to use the IP number, if you like.  For example, my hosts file
  570. includes:
  571.  
  572. #
  573. # Host file for use on winsock pc running TIA or SLiRP on shell account
  574. #
  575.  
  576. # -- SLIP emulator names --
  577.  
  578. 10.0.2.15       PC-name
  579. 10.0.2.2        emulator-host
  580. 10.0.2.2        pop-server
  581. 10.0.2.1        shell        <<<=== Add this line here
  582. 10.0.2.1        smtp-server
  583. 10.0.2.1        nntp-server news-server
  584.  
  585. (Above is just an example - you may wish to call your services by other
  586. names.)
  587.  
  588.  
  589. [ For you TIA users wondering how to use tia with slirp IP numbers...
  590. [ my .tiarc:
  591. [
  592. [-n10.0.2.2
  593. [-r10.0.2.15:21
  594. [-p10.0.2.1:25 mailit
  595. [-p10.0.2.1:119 nntpd.xover
  596.  
  597. 4) If running Windows, setup an icon that passess the argument "shell" to
  598. your favorite telnet application.  Double-clicking that icon will connect
  599. you to the host and run a shell program.  I use:
  600.  
  601.      c:\winsock\ewan\ewan.exe shell
  602.  
  603.  
  604. 5) Running another shell will not execute the commands in your .login
  605. file.  So, on your shell, move the commands alias, set, path, (everything
  606. non-login environment related) from .login to .cshrc (or whatever shell rc
  607. file you are using) so when you start up a new shell you will have things
  608. the way you are used to them.  You could also just put a 'source .login'
  609. in your .cshrc if you like.
  610.  
  611. [ I'm don't really understand UNIX enough to know what
  612. [ gets passed in to child processes in UNIX -
  613. [ anyone what to jump in here?
  614.  
  615.  
  616. And I think you should be in business.  I hope I haven't forgotten
  617. anything.
  618.  
  619. Bill                
  620. moseley@netcom.com  
  621. ________________________________________________________________________
  622. Question 3.9
  623. Alex Clamann (aclamann@vcu.edu) wrote:
  624. : Does anyone have instructions/hints as to how to use Windows 95
  625. : with SLiRP?
  626.  
  627. Works great!
  628.  
  629. 1) Install TCP/IP under network in the control panel
  630. 2) The numbers 10.0.2.0 is the default gateway under IP settings in the
  631.    control panel
  632. 3) The number of the local address is 10.0.2.115
  633. 4) Set the DNS server to whatever slirp gives you, (the second and
  634.    third on netcom as the first seems to change)
  635. 5) under the win config the very last box needs to be checked. (note:
  636.    this is second hand from a friend, and he can't remember what the box is
  637.    called. :( )
  638. 6) create a dialup network account, (it's an option in the dialup network
  639.    program group)
  640. 7) make sure to set the modem setup box and select <bring up dialog box
  641.    after dialing>, (that lets you log in and start slirp.
  642. 8) then set server type to PPP
  643. 9) use the connect button and when the dialog box comes up, type in your
  644.    name and password.
  645. 10) run slirp with the -P switch (this tells slirp to use PPP)
  646. 11) then press continue and win95 should tell you that you are connected.
  647.  
  648. once the connection is running you can use the win/95 utils or the win/95
  649. version of the web browsers.  Note: Netscape 32bit is at www.netscape.com
  650.  
  651.                                                     jtessin@netcom.com
  652.  
  653. (Editors Note - Another VERY detailed response to this question  
  654.  is found below - I'd love to get feedback as to which I should 
  655.  keep!!!!)
  656.  
  657. >Are there instructions available on how to configure win95,slirp,Free
  658. >Agent, and Netscape?  And if so would someone post it or its address?
  659.  
  660.  Note:  The instructions below now accomodate multiple dial-ups by
  661.  localizing the IP addresses to each dial-up entry, rather than making
  662.  them global throughout the system.  Revisions have also been made for
  663.  better clarity.
  664.  
  665.  The following are comprehensive instructions on getting Win95 to
  666.  network over a dial-up using SLIP/PPP, with consideration for TIA &
  667.  SLiRP.  These are specific to the CD release version (950r6) of Win95.
  668.  These assume that you have a modem, a phone line, and have an Internet
  669.  account with an ISP (Internet Service Provider).
  670.  
  671.  Info needed:  Your IP address (if static IP); your ISP's name, domain
  672.  names, and IP addresses.
  673.  
  674.  Components needed:  Dial-Up Networking; DSCRIPT; TCP/IP.
  675.  
  676.  **Always select OK to close a settings screen and not the Close (X)
  677.    button, or otherwise the changes you made will be ignored.
  678.  
  679.  ----------
  680.  
  681.  ADDING NEEDED COMPONENTS:
  682.  
  683.  To add Dial-Up Networking,
  684.     Open Start | Settings | Control Panel | Network | Add | Adapter |
  685.        Microsoft | Dial-Up Adapter.  Click OK.
  686.     The Dial-Up Adapter should now be present in the Network window.
  687.        Win95 will ask to restart system, don't restart just yet.
  688.     Delete all other entries in the window (aside from the Dial-Up
  689.        Adapter), by selecting them and clicking Remove.
  690.  
  691.  To add DSCRIPT,
  692.     Open Start | Settings | Control Panel | Add/Remove Programs |
  693.        Windows Setup | Have Disk.
  694.     Enter [CD drive]:\ADMIN\APPTOOLS\DSCRIPT and press OK.
  695.     [Note: DSCRIPT may not be present in the Win95 floppy disk version.]
  696.  
  697.  To add TCP/IP,
  698.     Open Start | Settings | Control Panel | Network | Add | Protocol |
  699.        Add | Microsoft | TCP/IP.  Click OK.
  700.     You should now have the Dial-Up Adapter and TCP/IP icons in the
  701.        Network window.  Win95 will ask to restart system.  Press No
  702.        to keep on going.
  703.     Select TCP/IP, and click on 'Properties'.  Select 'Gateway' tab.
  704.        Enter  1.0.0.1, and press the Add button.
  705.     Press OK's until you've closed the Network screen.
  706.  
  707.     After rebuilding its driver database, Win95 will again prompt you to
  708.     restart the system.  Select No to keep on going.
  709.  
  710. ----------
  711.  
  712.  MAKING A DIAL-UP ENTRY:
  713.  
  714.  Open Start | Programs | Accessories | Dial-Up Networking.  Win95 will
  715.     activate the Make New Connection wizard.  Press Cancel for now.
  716.  Select Connections (in the Dial-Up Networking folder menu) | Settings.
  717.     Enable 'Redial' (retry = 99, 0 min 1 sec between retries).
  718.     Select 'Don't prompt to use Dial-Up Networking'.  Press OK.
  719.  
  720.  Double-click on the Make New Connection icon.
  721.  Enter name of the ISP for the top box (ex: Eskimo North).
  722.  Select your modem from the list, or let Win95 autoselect your modem
  723.     (if modem is not already set up).
  724.  Select 'Configure' (modem)
  725.     [General]
  726.        Select max speed (I use 57600 for 28.8K, for typical 2:1
  727.           compression ratio).  Click OK.
  728.     [Connection]
  729.        Enable 'Cancel the call if not connected within _60_ secs'
  730.        Enable 'Disconnect a call if idle for more than _15_ mins'
  731.  Click Next; enter the ISP's telephone access number when prompted
  732.     (no area code, unless it is a long-distance call.)
  733.  Click Next; enter a name for the dial-up entry (ex: Eskimo).
  734.  Click Finish.  A connect icon for the ISP will appear in the folder.
  735.  
  736.  Right-click on the connect icon.  Select Properties | Server Type.
  737.     Select SLIP, CSLIP, or PPP (use this for SLiRP or TIA 2.x) from
  738.        the drop-down menu.
  739.     Disable 'Log on to network'.
  740.     Disable 'NetBEUI' and 'IPX/SPX Compatible'.
  741.        [If you select SLIP or CSLIP, these will already be greyed out.]
  742.     Click on 'TCP/IP Settings'.
  743.        Select 'Specify name server address'.
  744.           Enter the IP address(es) of the various domains of the ISP.
  745.           (Ex: for Eskimo, enter 204.122.16.13 for main server,
  746.           204.122.16.40 for tia server)
  747.        If dynamic IP address, select 'Server assigned IP address'.
  748.        If static IP address, select 'Specify an IP address' and enter
  749.           your IP address, as provided to you by your ISP.
  750.  
  751.        If TIA or SLiRP, select 'Specify an IP address' and enter
  752.           192.0.2.1 (anything you want, really) for IP address.
  753.  
  754.  You can drag the ISP icon you've just made out onto the desktop for
  755.  quicker access.  Repeat this section for any additional dial-up entry
  756.  you want to create.
  757.  
  758.  ----------
  759.  
  760.  MAKING A LOGIN SCRIPT:
  761.  
  762.  You've made a dialing connection icon for the ISP, but you need a
  763.  script to get past the login and start SLIP/PPP/TIA.  DSCRIPT will
  764.  handle this chore.
  765.  
  766.  Open Start | Programs | Accessories | Dial-Up Scripting Tool
  767.  
  768.  The dialing connection you've just made should be presented as an entry
  769.  inside the Connections window.  Since it's the only entry, it should
  770.  already be highlighted.  Click on 'Browse', and select one of the
  771.  sample script (SCP) files for modification.  Then click on 'Edit' to
  772.  modify the file to fit your ISP login.  Below is a sample script for
  773.  Eskimo North:
  774.  
  775.  ; Eskimo North login script
  776.  proc main
  777.     transmit "^M"
  778.     waitfor "Selection ==>"
  779.     transmit "4^M"
  780.     waitfor "login:"
  781.     transmit "YourName^M"   ; replace with your login name
  782.     waitfor "Password:"
  783.     transmit "YourPasswd^M" ; replace with your password
  784.     waitfor "bash$"         ; replace with your prompt
  785.     transmit "tia -ppp^M"   ; use this for TIA 2.x
  786.     ;transmit "slirp -b 57600 -P^M"  ; use this for SLiRP
  787.     ;set ipaddr getip 2     ; use this for dynamic IP address
  788.  endproc
  789.  
  790.  Save the script.
  791.  Enable 'Start terminal screen minimized'.
  792.    [For script debugging purposes, you can elect to disable the 'Start
  793.    terminal screen minimized' option and/or enable the 'Step through
  794.    Script' option.]
  795.  Restart Win95.
  796.  
  797.  Note:  Accessing the SCRIPTER.HLP file may be problematic, as it has no
  798.  accompanying .CNT (contents listing) file.  I wasn't able to access its
  799.  Topics List, which means no access to the command syntax listing.  I
  800.  ran the help file through an ASCII filter, and reconstructed the syntax
  801.  listing after some reformatting.  If there is sufficient interest, I'll
  802.  repost it as an addendum.  [The Plus! pack's "Internet Option" has the
  803.  identical Dial-Up Scripting Tool as included in the base Win95 CD, but
  804.  it has an accompanying SCRIPT.DOC which has the command syntax in it.]
  805.  
  806.  ----------
  807.  
  808.  TESTING THE SETUP:
  809.  
  810.  Double-click on the dialing-connection icon for the ISP, and click
  811.  Connect.  (You don't have to enter your name/passwd, since you've
  812.  already hardcoded it into the script file.  Be aware, however, that the
  813.  scripts are saved in plain ASCII which may pose a security problem for
  814.  multi-user setups).  If everything goes smoothly, you will get a
  815.  Connect message.  (I've noted that with SLiRP, it takes as long as half
  816.  a minute for the TCP/IP connect to be made after the SLiRP command is
  817.  given to the host shell.)
  818.  
  819.  After the Connect message, minimize the window onto the TaskBar, and
  820.  open up a DOS box.  Enter 'telnet [ISP domain name]' (ex: telnet
  821.  eskimo.com) to connect to your ISP.  If telnet is successful, then the
  822.  setup is good, and you are in business.
  823.  
  824.  Win95 also has some other command-line TCP/IP utils, the most important
  825.  of which is FTP.EXE.  Between) telnet and ftp, you have the tools to
  826.  acquire other winsock apps from the net to add to your stable.
  827.  
  828.  hpham@eskimo.com (Hoang Pham) 
  829.  
  830. ________________________________________________________________________
  831.  
  832.  
  833. 4.0 Emulator Performance
  834.  
  835. Question 4.1
  836.  
  837. SLiRP has become stable and the lock-up bug was finally fixed(?).
  838. I think it's time for new benchmark test on TIA and SLiRP. 
  839.  
  840. (*** Well, seems like I will have to do another test in 2 weeks. 
  841. TIA 2.0 beta will be released in next month. I just got new TIA news.)
  842.  
  843. Anyway,
  844.  
  845. I performed a small benchmark test using ws_ftp. The method used is mostly
  846. the same as the previous test I did and posted here few month ago.
  847.  
  848. I transferred file between UNIX host and local PC over serial line three
  849. times in each direction and averaged the speed (in Kbps).
  850.  
  851. This time I could use the same Trumpet setting for both TIA and SLiRP,
  852. which means you can compare data of the two directly. Also, I used
  853. both compressed and non-compressed files in the tests.
  854.  
  855. Let's show you the result first.
  856.  
  857.  
  858. WS_FTP.EXE (150944 byte, a binary executable)
  859. =============================================
  860.     TIA    SLiRP
  861.     SLIP    SLIP    CSLIP    PPP
  862. ---------------------------------------------
  863. Downld    18.06    17.31    18.53    18.45 (Kbps) 
  864. Upload    18.94    18.88    19.35    19.30
  865. =============================================
  866.  
  867. WS_FTP.ZIP (117641 byte, ZIP compressed)
  868. =============================================
  869.     TIA    SLiRP
  870.     SLIP    SLIP    CSLIP    PPP
  871. ---------------------------------------------
  872. Downld    15.87    14.97    16.24    16.14 (Kbps)
  873. Upload    16.36    16.32    16.70    16.66
  874. =============================================
  875.  
  876. What do you think? It's interesting, isn't it?
  877.  
  878. * Actually, the result is not much different from the previous test.
  879. In the previous test, I used MTU of 552 for Slirp and I thought it
  880. made Slirp slower than TIA. However, Slirp is still slower than the
  881. TIA in SLIP. Slirp gave me *really* good result in CSLIP and PPP. 
  882. CSLIP is slightly faster than PPP but I think the difference has 
  883. become small. (Acutually, I lost the old result. ^^; Am I telling 
  884. you the truth?)
  885.  
  886. * As a result of tcp_input.c fix, Slirp now works even if you don't
  887. use Passive mode in ws_ftp. However, you should always get faster
  888. transfer if you use Passive mode. This applies to TIA, too.  
  889.  
  890.  
  891. #####
  892. Here's hardware and software information:
  893.  
  894. UNIX  -- SparcSun-4/280. SunOS-4.1.3
  895. PC    -- Toshiba T3400, i486SX-33MHz, 4MBram, Windows for Workgroups.
  896. Modem -- US Robotics WorldPort 14.4K PCMCIA Fax/Modem.
  897.  
  898. WS-FTP version 95.06.11
  899.     Recv Bytes 4096
  900.     Send Bytes 1500
  901.     *Passive Mode* is used in all transferres.
  902.  
  903. Trumpet Winsock version 2.1b 
  904.     MTU 1500, RWIN 4096, MSS 1460.
  905.     Baudrate 38400
  906.  
  907. TIA version 1.04c (beta)
  908.  
  909. Slirp version 0.9o (tcp_input.c fixed)
  910.             [.slirprc]
  911.     SLIP        CSLIP        PPP
  912.     **************     **************    *****************
  913.     Baudrate 38400    Baudrate 38400    Baudrate 38400
  914.     mtu 1500    compress    ppp
  915.     mru 1500    mtu 1500    mtu 1500
  916.             mru 1500    mru 1500
  917.                     asyncmap 00000000
  918.     **************    **************    *****************
  919.  
  920.  
  921. *** All Data ***
  922.  
  923. ## TIA ##
  924. [SLIP]    ws-ftp.exe            ws-ftp.zip
  925. --------------------------------------    ------------------------------
  926.     Down        Up        Down        Up
  927.     (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)  
  928. --------------------------------------    ------------------------------
  929. 1.    81.8    18.08    78.0    18.95    72.6    15.88    70.4    16.37
  930. 2.    82.0    18.04    78.1    18.94    72.9    15.82    70.5    16.35
  931. 3.    81.8    18.08    78.2    18.92    72.5    15.90    70.4    16.37
  932. --------------------------------------  ------------------------------
  933. Ave.    81.9    18.06    78.1    18.94    72.7    15.87    70.4    16.36
  934. --------------------------------------    ------------------------------
  935.  
  936. ## SLiRP ##
  937. [SLIP]    ws-ftp.exe            ws-ftp.zip
  938. --------------------------------------    ------------------------------
  939.     Down        Up        Down        Up
  940.     (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)  
  941. --------------------------------------    ------------------------------
  942. 1.    85.6    17.28    78.4    18.88    77.3    14.92    70.7    16.31
  943. 2.    85.5    17.31    78.5    18.84    77.0    14.98    70.6    16.32
  944. 3.    85.4    17.33    78.2    18.91    76.8    15.02    70.6    16.32
  945. --------------------------------------  ------------------------------
  946. Ave.    85.5    17.31    78.4    18.88    77.0    14.97    70.6    16.32
  947. --------------------------------------    ------------------------------
  948.  
  949.  
  950. ## SLiRP ##
  951. [CSLIP]    ws-ftp.exe            ws-ftp.zip
  952. --------------------------------------    ------------------------------
  953.     Down        Up        Down        Up
  954.     (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)  
  955. --------------------------------------    ------------------------------
  956. 1.    79.8    18.53    76.4    19.36    71.0    16.24    69.0    16.70
  957. 2.    79.8    18.53    76.5    19.33    71.0    16.24    69.0    16.70
  958. 3.    79.8    18.53    76.4    19.36    71.0    16.24    69.0    16.70
  959. --------------------------------------  ------------------------------
  960. Ave.    79.8    18.53    76.4    19.35    71.0    16.24    69.0    16.70
  961. --------------------------------------    ------------------------------
  962.  
  963.  
  964. ## SLiRP ##
  965. [PPP]    ws-ftp.exe            ws-ftp.zip
  966. --------------------------------------    ------------------------------
  967.     Down        Up        Down        Up
  968.     (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)    (Sec)    (Kbps)  
  969. --------------------------------------    ------------------------------
  970. 1.    80.1    18.46    76.6    19.30    71.5    16.12    69.2    16.66
  971. 2.    80.3    18.42    76.6    19.30    71.4    16.15    69.2    16.66
  972. 3.    80.1    18.46    76.7    19.29    71.3    16.16    69.2    16.66
  973. --------------------------------------  ------------------------------
  974. Ave.    80.2    18.45    76.6    19.30    71.4    16.14    69.2    16.66
  975. --------------------------------------    ------------------------------
  976.  
  977. That's all. (Hope I didn't make any stupid mistake.)
  978.  
  979. Thanks.
  980.  
  981. ---
  982.  
  983. Masa. <msato@calstatela.edu>
  984.  
  985. [Editors' note:  I think this one gets the best post of the week award!]
  986. ----------------------------------------------------------------------------
  987.  
  988. 5.0 Miscellaneous Problems/Solutions
  989.  
  990. Question 5.1
  991. >                           LATEST INFORMATION
  992. >                  --------------------------------------
  993. >
  994. >  *  (21/6/94) I think I finally fixed the "locking-up" problem. Edit the
  995. >    file tcp_input.c and uncomment the lines:
  996. >    /* if (so->so_snd.sb_cc)
  997. >    * (void) tcp_output(tp);
  998. >    */
  999. >    This means you can use a low RWIN again, and still have it work (I
  1000. >    hope).
  1001. >  *  (5/6/94) Get version 0.9o, it should fix the nasty SunOS problem, as
  1002. >    well as others. This will be the last release for around a month or
  1003. >    two (provided I find no major bugs (again)), since a) I have tests
  1004. >    coming up, and b) I'm planning big changes/additions to slirp for the
  1005. >    next release (It'll probably be a BETA release, finally).
  1006. >
  1007. >  [Back To SLiRP Home Page] [Features] [danjo@blitzen.canberra.edu.au]
  1008. >
  1009. >                Copyright ⌐1995 Phase One WWW Publishing
  1010.  
  1011. I tried out the code change and it seems to be working fine for me.
  1012.  
  1013. I am now able to reduce my RWIN in trumpet back to 4 times my MTU and I have no lockups.
  1014.  
  1015.     o      _____         ||Jose Barandiaran | |joseb@twisto.compaq.com  |
  1016. ----------------------------------------------------------------------------
  1017. Question 5.2
  1018.  
  1019. >sterns@rahul.net (Steven Stern) wrote:
  1020. >Hi,
  1021. >    I'm running Win95 (build 484) and just tried to run the 32 bit
  1022. >version of Netscape with no luck. I can't get DNS lookup to work.
  1023. >
  1024. >Is this combination possible or will it not work because Trumpet is
  1025. >not a 32 bit application ?
  1026. >
  1027. >BTW the 16 bit version works just fine !
  1028. >
  1029. >Steve
  1030. >                                                               ~~~
  1031. >                                                              (o o)
  1032. > ----------------------------------------------------------ooO--U--Ooo-----
  1033. > Steven Stern           email: sterns@rahul.net     
  1034.  
  1035.  
  1036. It seems that the 32-bit version of Netscape cannot communicate 
  1037. with a 16-bit TCP/IP stack.  However, you don't need to use 
  1038. Trumpet anymore.  Just use SLiRP with the -P or ppp option (for 
  1039. Point-to-Point Protocol).  On the Windows 95 end, you'll need 
  1040. to go into Dial-Up Networking in My Computer and define dialer 
  1041. "objects" for each of the numbers you wish to call on your 
  1042. server.  The default protocol is PPP and is set under Server 
  1043. Type.  You'll then need to set up a dummy IP address in either 
  1044. Network under Control Panel or on the object itself, if your 
  1045. build of Windows 95 supports that (which I think 484 does).  
  1046. There are a few other things, such as Name Servers and 
  1047. Gateways, but since you've already set up Trumpet, you'll know 
  1048. what to put in there.  You'll want to specify that Windows 95 
  1049. bring up the terminal window after dialing so that you can 
  1050. enter your login information.  This can be done in Server Type 
  1051. as well.  Don't worry about the login name and password in the 
  1052. dialer object; it can't be resolved anyway and you'll connect 
  1053. just fine when you enter it in your terminal window.  After 
  1054. entering your user ID and password and finally the SLiRP 
  1055. command line, you simply press F7 (Continue) and you're all 
  1056. set.  All of your winsock apps will work, 32-bit and 16-bit.
  1057.  
  1058. If you have any trouble setting this up, let me know. Maybe I 
  1059. can help.  Just short on time at the moment.  
  1060. mailto:davidb@mordor.com
  1061. ----------------------------------------------------------------------------
  1062. Question 5.3
  1063.  
  1064. whoa@netcom.com (arlene agcongay) wrote:
  1065. >
  1066. >hi, i just got SLiRP working for me the other day, but i have a
  1067. >question.  I'm using OS/2 Warp with SLIRP, and when i start it up,
  1068. >it tells me that my baud rate is 1200.  I would like to configure
  1069. >this part to a higher baud rate, but i don't know which file to
  1070. >edit.  What i've been doing is opening up another comm software like
  1071. >ZOC and have it initialize my modem to 38400.  but there has to be
  1072. >an easier way!  i'm a newbie to this, so please help me.. =)
  1073. >
  1074. >thanks in advance!!
  1075. >
  1076. >
  1077. >-arlene
  1078. >
  1079. >
  1080.  
  1081. slirp -b 38400  will tell SLiRP to send and receive data from 
  1082. your provider's modem at 38,400 bits per second.  To receive 
  1083. the data at the fastest possible rate, you'll need to call a 
  1084. number that supports the highest transmission rate possible 
  1085. with your modem and be sure you are connecting at that speed.  
  1086. What concerns me is that SLiRP defaults to 9600 "baud" and 
  1087. should not be reporting 1200 unless you have explicitly 
  1088. requested it with the -b switch. Maybe you are misreading one 
  1089. of the other parameters, such as MTU?
  1090.  
  1091. db
  1092.  
  1093. ----------------------------------------------------------------------------
  1094. Qeustion 5.4
  1095.  
  1096. [ Editors' note: I screwed up the request below...so added the one line
  1097.   to get the context of the original question back.. Sorry 'bout that.]
  1098. >How does one get to a 
  1099. >unix shell using slirp.telnetd .. no one can answer this for me, it seems 
  1100. >and I haven't been able to find any documentation on the subject.. it's 
  1101. >rather frustrating. Thanks. E-Mail Please.
  1102. >
  1103. >--
  1104. > ______  
  1105. >( ____ \  rampage@ccnet.com    http://www.ccnet.com/~rampage    net-geek
  1106.  
  1107.     Simple, in your .slirprc you have a line such as is mine for tcsh:
  1108.         shell /usr/local/bin/tcsh
  1109. Then (if 10.0.2.0 is your SPECIAL address as it is for me) you telnet from your
  1110. local machine to 10.0.2.1 to get a 'shell' on your remote machine.  In my case
  1111. I put a lines in /etc/hosts such as:
  1112.         10.0.2.0 slirp
  1113.         10.0.2.1 remote
  1114. so that I can 'telnet remote' to get a shell or 'telnet slirp' to talk to
  1115. SLiRP's command line.
  1116.  
  1117. rdt
  1118.                                                    mailto:rdt@realm.net    
  1119.                                                or  mailto:rdt@kaiwan.com   
  1120. ----------------------------------------------------------------------------
  1121. Question 5.5
  1122.  
  1123. On Sun, 25 Jun 1995 08:34:57 GMT Steven Stern (sterns@rahul.net) wrote in alt.dcom.slip-emulators:
  1124. : I'm running Win95 CSLIP with Slirp at the other end. After I start
  1125. : Slirp I get the following msg:
  1126.  
  1127. : SLiRP Ready ... (autodetect SLIP/CSLIP, MTU 552, 9600 baud)
  1128.  
  1129. : I'm using a 14.4 modem. Does the message above really says I'm only
  1130. : connected at 9600 ?
  1131.  
  1132. : Before Win95 Cslip, I always got 14.4 connections with Trumpet !
  1133.  
  1134. : Please help !
  1135.  
  1136. You need to specify the baud rate on the command you use to start slirp,
  1137. like: 
  1138.       slirp -b 14400 -c
  1139.  
  1140. Ahmad
  1141. --
  1142. Ahmad Al-Nusif            | E-Mail: morpheus@kuwait.net                      |
  1143. -----------------------------------------------------------------------------
  1144. Question 5.6
  1145.  
  1146. stew1117@netcom.com (stewart coulter) wrote:
  1147. >Hello, I am using Slirp version O, everything is running fine except the 
  1148. >news.  I have a netcom account and was told I need the file NNTPD, where 
  1149. >can I find this file and what type configuring do I have to do to the 
  1150. >slirp O program?  Please respond via email
  1151.  
  1152. >From a directory in your path (probably either your home directory or ~/bin), 
  1153. do
  1154.  
  1155.   ln -s ~seligman/bin/nntpd
  1156.  
  1157. Or, if you want your own copy (just in case), do
  1158.  
  1159.   cp -p ~seligman/bin/nntpd .
  1160.  
  1161. This version, written by Scott Seligman, supports XOVER. The TIA version will 
  1162. also work with either TIA or Slirp. Find it at
  1163.  
  1164.   ~barryn/pub/nntpd
  1165.  
  1166. These are on Netcom, of course, since they're only needed to emulate a normal 
  1167. NNTP server with Netcom's disk-based equivalent.
  1168.  
  1169. To use this with Slirp, add the following line to your .slirprc file:
  1170.  
  1171.   add exec nntpd 10.0.2.1:119
  1172.  
  1173. unless you use the TIA-style addresses, in which case you'd add
  1174.  
  1175.   add exec nntpd 192.0.2.3:119
  1176.  
  1177. Lee Dobbs                     Milpitas CA            Voice: 408-946-7860
  1178. ldobbs@netcom.com                 USA                Fax:   408-262-9392
  1179. -----------------------------------------------------------------------------
  1180. Question 5.7
  1181. D. Henry (marbling@apk.net) wrote:
  1182. : In article <3sj8cs$j3e@metz.une.edu.au>, jzhou1@metz.une.edu.au (JUN ZHOU) says:
  1183. : >
  1184. : >Hello,
  1185. : >
  1186. : >I am trying to run Netscape and Eudora on a PC with a modem. I have installed
  1187. : >the Trumpet winsock and can loging manually from TCPMAN widows. However, when 
  1188. : >I try to run the wisock applications, the Tcpman is lunched and minimized but
  1189. : >the Netscape windows never pop up.
  1190. : >
  1191. : >Any help is highly appreciated
  1192.  
  1193.  
  1194. He-he. I used to make the same mistake when I just installed Trumpet 
  1195. Winsock. Here's the catch. If you select 'Manual Login' option from the 
  1196. Trumpet Winsock's Dialler menu, SLIP is automatically disabled. After you 
  1197. manually log in and start your SLIP emulation, don't forget to press the 
  1198. 'ESC' key. It will enable SLIP, and Trumpet Winsock will start talking 
  1199. to your SLIP emulator. If you don't do so, Netscape window will never pop 
  1200. up...
  1201. I hope this helps.
  1202.  
  1203. Regards,
  1204. Stan
  1205.  
  1206. ----------------------------------------------------------------------------
  1207. Question 5.8
  1208.  
  1209. In article <3t278g$46r@newsbf02.news.aol.com>,
  1210. rmpshaker2@aol.com (RmpShaker2) wrote:
  1211. >Hey guys, When I setup my network settings, my only server type is PPP. I
  1212. >don't have a PPP connection, I have a slip.  I tried configuring the damn
  1213. >thing, but I found NO option for slip anywheres. I went through all the
  1214. >help and found jack.  Does anyone know how to setup a SLIP?
  1215. >
  1216. >Thanks, Chris
  1217.  
  1218. Unfortunately Win95 does not automatically set-up SLIP protocol, but it's 
  1219. quite easy.
  1220.  
  1221. Go into control panel, then add/remove software, then Windows Setup, the Have 
  1222. disk, now browse for a file named RNAPLUS.INF, it's on the cd, in think in 
  1223. admin\apptools\slip, and that's it.  Now when you set up server you should 
  1224. have cslip and slip options
  1225.  
  1226. ----------------------------------------------------------------------------
  1227. Question 5.9
  1228. browe@netcom.com (Bill Rowe) wrote:
  1229. >In article <stevewDB8u3p.FIv@netcom.com>, stevew@netcom.com (Steve Wilson)
  1230. >wrote:
  1231. >>When you start up a shell, you tie-up a certain amount of memory
  1232. >>with local defines...like the path you use to search for commands,
  1233. >>any special "environment variables," etc.  If you fork off another
  1234. >>shell via telnetd, it will inherit this same environment...what
  1235. >>Lee is saying is that you probably just get a link to this stuff
  1236. >>instead of taking up X amount of more memory...
  1237. >
  1238. >Are you saying with telnetd the path to my home directory is not
  1239. >available? If it is available, how could it not be taking memory? If it
  1240. >isn't available, this seems to me a good reason not to use telnetd to
  1241. >access my shell account. 
  1242. >
  1243. >Usually, if I telnet to my shell it is because I want to manipulate one or
  1244. >more files there. Lack of access variables which are defined at login such
  1245. >as $PATH would seem to make it significantly more difficult to do the
  1246. >usual things with a shell account.
  1247.  
  1248. All the environment variables that were set by your login shell process 
  1249. *are* available to any subprocess. If the subprocess happens to be another 
  1250. shell, any reference to an unmodified environment variable just points back 
  1251. to the memory block attached to your login process. So, things like your 
  1252. path, term, prompt, shell, etc., don't have to be recopied -- they're 
  1253. already available.
  1254.  
  1255. The situation is different, however, when you start up a shell from an 
  1256. intermediate process like telnetd. telnetd doesn't pass the environment 
  1257. variables to the shell, so it starts up with just the default subshell 
  1258. parameters. You have to tell it to do something extra. If your shell is one 
  1259. of the csh derivatives, you need to tell it to execute your .login file in 
  1260. addition to the usual .cshrc file. One way to do this is 
  1261.  
  1262.   exec csh -l
  1263.  
  1264. which replaces the original telnet shell process with another one, but this 
  1265. time reading the .login file first. There are equivalents for the Bourne 
  1266. derivatives so that it executes your .profile first, but I don't remember 
  1267. what those are right now.
  1268.  
  1269. By the way, the shell variables are only part of the environment memory 
  1270. usage. There is some environment memory dedicated by your host to keep track 
  1271. of your login process and all your subprocesses. This includes space for:
  1272.  
  1273.  All the open files
  1274.  Access rights to files and processes
  1275.  The working directory
  1276.  The file creation mask
  1277.  Values of resource limits
  1278.  Signals to be ignored by the parent
  1279.  Signals not to be ignored by the parent
  1280.  
  1281. That's why it's still better for the host if you use a subshell through 
  1282. telnetd and then set your PATH, etc., than if you start a completely new 
  1283. login session.
  1284.  
  1285. Does this help? Are we having fun yet? :)
  1286.  
  1287. Lee Dobbs                     Milpitas CA            Voice: 408-946-7860
  1288. ldobbs@netcom.com                 USA                Fax:   408-262-9392
  1289. ----------------------------------------------------------------------------
  1290. Question 5.10
  1291. wmcbrine@clark.net (William McBrine):
  1292. > FTP-PM never connects when I use it under SLiRP. Pretty much everything 
  1293. > else works fine, including FTP and NcFTP, except of course ping. What's 
  1294. > the problem, and is there a fix?
  1295.  
  1296. Well... You actually stated the problem yourself. Ping soesn't work,
  1297. and FTPPM uses PING. You can tell the IAK that PING is not available
  1298. by remarking the line starting with "icmp" in the file "protocol"
  1299. thats the fix).
  1300.  
  1301. /Jonas
  1302. Jonas Eckerman                    FSDB
  1303. jpe@algonet.se    www.algonet.se/~jpe/
  1304.  
  1305. ----------------------------------------------------------------------------
  1306. Question 5.11
  1307.  
  1308. Editors' Note:  This question is slightly out of date.  Tia 2.0 is
  1309. available now...but the discussion is still relevant.
  1310.  
  1311. In article <DBDL0D.Ltu@dorsai.org>, Mike Russo <stardate@dorsai.org> wrote:
  1312. >At least, that's how I got TIA to work. I hope either TIA 2.0 or the 
  1313. >next SLiRP will support this protocol, along with PPP (and maybe automatic 
  1314. >port redirection? in my dreams?) =)
  1315.  
  1316. PPP is in TIA 2.0 (as is CSLIP).  It is working even as I type this,
  1317. but we've not released TIA 2.0 yet, so I can't say more at this time.
  1318.  
  1319. The others are tough nuts to crack, so let me address them one at a
  1320. time.
  1321.  
  1322. The ICMP protocol is simple and easily implemented.  However, there is
  1323. one minor problem (or major depending on who you are): root access.
  1324. ping must be run by root to work (or be setuid uid 0).  TIA or SLiRP
  1325. would need to be installed setuid, which violates one of the prime
  1326. assumptions that at least TIA has: No extra ordinary privs should be
  1327. required to use TIA.  So ICMP could be implemented for the link, but
  1328. not forwarded to other machines.  TIA 1.x doesn't choose to do this.
  1329. TIA 2.0 likely won't either.  Creative solutions to this problem may
  1330. be possible, but I've not had time to fully investigate my ideas, so
  1331. I'll not speculate on them just now.
  1332.  
  1333. Automatic port redirection is also hard.  When the TIA client[*] has a
  1334. program that wants to listen on a port, nothing happens over the wire.
  1335. Sure, buffer space gets allocated, the TCP stack's internal data
  1336. structures are setup, but no packets are sent over the link.  Since no
  1337. data flows accross the link, TIA (and SLiRP) have no way of knowing
  1338. that you desire to have a server or do port redirection.  Also, if TIA
  1339. or SLiRP were to try to do this, how could it inform you of the ports
  1340. that it chose for the servers you wish to run?  How would you know you
  1341. needed to connect to port 8456 to connect to your FTP server?  That's
  1342. why you need to tell TIA (and SLiRP) how to redirect the ports.
  1343.  
  1344. I wish I could have told you that TIA 2.0 solves all the hard problems
  1345. that exist in your dream product, but I can't because some of them are
  1346. very hard nuts to crack.
  1347.  
  1348. [*] A TIA client is the machine at the end of the point to point link
  1349.     that isn't running TIA.
  1350.  
  1351. Warner Losh        "VMS Forever"        home: imp@village.org
  1352. Cyberspace Development, Inc            work: imp@marketplace.com
  1353. ----------------------------------------------------------------------------
  1354. Question 5.12
  1355.  
  1356. In article <3tqam6$lsv$1@mhafm.production.compuserve.com>, Jeff
  1357. Morganstern <102174.225@CompuServe.COM> wrote:
  1358.  
  1359. > Can someone explain to me why (from an annex type server) I can use 
  1360. > rlogin to my unix account and slirp works fine, but if I telnet 
  1361. > there, it does not?  I'm able to get into my (free but far away) 
  1362. > unix account through a local gopher server, but it can only telnet 
  1363. > there.  In order to use the rlogin protocol, I need to dial up 
  1364. > directly (expensive).  Is there any way around this?
  1365. > Thanks.
  1366. > Jeff
  1367.  
  1368. The reason is that rlogin is a much simpler program than telnet,
  1369. and is therefore more "transparent" in terms of not mucking about with
  1370. the characters that go through.
  1371.  
  1372. For SLiRP to work, you need a relatively "clean" 8-bit connection.
  1373. Telnet may do any or all of the following.
  1374.  
  1375. 1. Strip out the eighth bit, leaving a 7-bit link.
  1376. 2. Intercept certain characters, and translate them into telnet
  1377.    escape sequences.
  1378. 3. Break the link if it receives certain characters.
  1379.  
  1380. That is not to say that it is impossible to get telnet to work.
  1381. Depending on the version of telnet you may be able to get an eightbit
  1382. link by either specifying it as an option (telnet -8), or by careful
  1383. settings on the machine you are telnetting from, for example,
  1384.  
  1385. stty -parenb                ; no parity, 8-bit characters
  1386. stty crtscts                ; hardware flow-control
  1387. stty -ixon                  ; no XON
  1388. stty -istrip                ; don't strip off eighth bit
  1389.                             ; what else?? mdmbuf?
  1390.  
  1391. You may also need to use PPP so that you can "escape" the characters
  1392. that would telnet would intercept.
  1393.  
  1394. There may be other things that need to be done.  I've been able to get
  1395. a connection established with slirp through a telnet link, but have not
  1396. gotten it to work satisfactorily, whereas rlogin works fine.  Your results
  1397. may differ.
  1398.  
  1399. ---------------------------------------------------------------------
  1400. Question 5.13
  1401.  
  1402. In article <1995Jul13.110622@acad.drake.edu>, jms015@acad.drake.edu
  1403. (Pilfered Publishing TM) wrote:
  1404.  
  1405. > I login with ZTerm and quit without hanging up and then start InterSLIP
  1406. > on my Mac.  I load up telnet 2.6 and try the default as stated in the Home
  1407. > page "10.0.2.0".
  1408.  
  1409.  
  1410. I was never able to get the special "telnet 10.0.2.0" to work form my mac
  1411. using interslip, but it works using macppp.  At any rate, all the other
  1412. internet functions worked fine with both setups, although I highly
  1413. recommend macppp, as it is much faster.
  1414.  
  1415. -- 
  1416. Marshall Levin <levin@cobalt.middlebury.edu>
  1417.  
  1418.  
  1419. -------------------------------------------------------------------
  1420. Question 5.14
  1421.  
  1422. Daniel Ptacnik - BBMD/F94 (dptacnik@acs.ryerson.ca) wrote:
  1423. :
  1424. : I just got slirp to work properly. But I don't know what my pop mail (smtp)
  1425. : server is, is there a unix command that can tell you this info. Or 
  1426. : another other way of determining this. Any help is gladly appreciated. 
  1427. : Everthing else works fine like netscape, ftp, and irc. BTW I am using 
  1428. : slirp v.9o. Thanx again 
  1429. :
  1430.  
  1431. First, are you sure that your service provider supports POP at all? The 
  1432. POP server would have to run on the same machine as your mailbox in order 
  1433. to work (not quite true, it could run on a machine that NFS mounts your 
  1434. mailboxes too). Since your email address is: dptacnik@acs.ryerson.ca
  1435. you would find out where your mail is delivered by looking for the DNS MX 
  1436. record for that address: dig acs.ryerson.ca mx
  1437.  
  1438.     ;; ANSWERS:
  1439.     acs.ryerson.ca. 843     MX      10 hopper.acs.ryerson.ca.
  1440.  
  1441. Next, find out if there is a POP server running on this host by telneting 
  1442. to port 110 (POP3) or port 109 (POP2) and see what you get:
  1443.  
  1444.     telnet hopper.acs.ryerson.ca 110
  1445.     Trying 141.117.101.8...
  1446.     Connected to hopper.acs.ryerson.ca.
  1447.     Escape character is '^]'.
  1448.     +OK hopper.acs.ryerson.ca POP3 3.3(18) w/IMAP2 client (Comments to 
  1449.     MRC@CAC.Washington.EDU) at Thu, 13 Jul 1995 15:10:16 -0400 (EDT)
  1450.  
  1451. You're in luck, your MX host has a POP3 server running (looks like the 
  1452. POP server that comes with Pine, since it mentions IMAP too). Close this 
  1453. connection by pressing control-backbracket and entering "close" at the 
  1454. telnet prompt, don't just break the connection, it isn't nice.
  1455.  
  1456. Now you are ready to enter this information into your POP client:
  1457.  
  1458.     POP host: hopper.acs.ryerson.ca
  1459.     SMTP host: hopper.acs.ryerson.ca
  1460.  
  1461. Have fun.
  1462.  
  1463. --
  1464. | John Lucas                          jlucas@uvi.edu                 |
  1465.  
  1466.  
  1467.